package ltd.dujiabao.eduservice.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : DuJiabao
 * @Project : online-course-project
 * @Time : 2021/4/18 23:37
 * @Desc : 用于封装讲师查询的对象
 */
@Data
@ApiModel(value = "EduTeacher查询对象", description = "讲师查询对象封装")
public class TeacherQuery {
  @ApiModelProperty(name = "名字", value = "教师名字，模糊查询")
  private String name;

  @ApiModelProperty(name = "级别", value = "头衔 1高级讲师 2首席讲师")
  private Integer level;

  @ApiModelProperty(name = "开始时间", value = "查询的开始时间，也就是创建时间要大于等于该时间", example = "2019-01-01 10:10:10")
  private String begin;

  @ApiModelProperty(name = "结束时间", value = "查询的结束时间，也就是创建时间要小于等于该时间", example = "2019-01-01 10:10:10")
  private String end;
}
